package net.ui.model.panel;

import org.apache.commons.lang.BooleanUtils;

public class PanelElementItemBean {

	private String name;

	private String value;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public boolean getBooleanValue() {
		return BooleanUtils.toBoolean(value);
	}

	public int getIntValue() {
		return Integer.parseInt(value);
	}
}
